function oper_bar_middle(){
	oper_bar();
	$("#bri").html("<div id='order_form'></div>");
}

function oper_bar() {
	var month_goal_number = $("#month_goal_number").val();
	var month_goal_bad_number = $("#month_goal_bad_number").val();
	var month_production_quantity = $("#month_production_quantity").val();
	var month_production_bad_quantity =  $("#month_production_bad_quantity").val();
	
	var day_goal_number = $("#day_goal_number").val();
	var day_goal_bad_number = $("#day_goal_bad_number").val();
	var day_production_quantity = $("#day_production_quantity").val();
	var day_production_bad_quantity =  $("#day_production_bad_quantity").val();
	
	var workorder_quantity = $("#workorder_quantity").val();
	var workorder_badquantity = $("#workorder_badquantity").val();
	var production_quantity = $("#production_quantity").val();
	var production_bad_quantity = $("#production_bad_quantity").val();
	
	chart = new Highcharts.Chart({		
		chart : {
			renderTo : 'oper_charts',
			type : 'column',
			marginRight : 110,
			marginLeft : 110,
			marginTop : 50,
			marginBottom : 25
		},
		title : {
			text : '월별 완성 수불 현황',
			x : -20, // center
			y : 10
		},
		subtitle : {
			text : '',
			x : -20
		},
		xAxis : {
			title : {
				text : ''
			},
			categories : [ '월별 생산', '월별 수불' ]
		},
		yAxis : {
			title : {
				text : ''
			},
			plotLines : [ {
				value : 0,
				width : 1,
				color : '#808080'
			} ]
		},
		tooltip : {
			formatter : function() {
				return '<b>' + this.series.name + '</b><br/>' + this.x + ': '
						+ this.y;
			}
		},
		legend : {
			layout : 'vertical',
			align : 'right',
			verticalAlign : 'top',
			x : 0,
			y : 100,
			borderWidth : 0
		},
		series : [ {
			name : '목표',
			data : [ parseInt(month_goal_number), parseInt(month_goal_bad_number) ]
		}, {
			name : '생산',
			data : [ parseInt(month_production_quantity), parseInt(month_production_bad_quantity) ]
		} ]
	});
	
	
	
	
	
	chart = new Highcharts.Chart({
		chart : {
			renderTo : 'oper_charts2',
			type : 'column',
			marginRight : 110,
			marginLeft : 110,
			marginTop : 50,
			marginBottom : 25
		},
		title : {
			text : '일별 완성 수불 현황',
			x : -20, // center
			y : 10
		},
		subtitle : {
			text : '',
			x : -20
		},
		xAxis : {
			title : {
				text : ''
			},
			categories : [ '일별 생산', '일별 수불' ]
		},
		yAxis : {
			title : {
				text : ''
			},
			plotLines : [ {
				value : 0,
				width : 1,
				color : '#808080'
			} ]
		},
		tooltip : {
			formatter : function() {
				return '<b>' + this.series.name + '</b><br/>' + this.x + ': '
						+ this.y;
			}
		},
		legend : {
			layout : 'vertical',
			align : 'right',
			verticalAlign : 'top',
			x : 0,
			y : 100,
			borderWidth : 0
		},
		series : [ {
			name : '목표',
			data : [ parseInt(day_goal_number), parseInt(day_goal_bad_number) ]
		}, {
			name : '생산',
			data : [ parseInt(day_production_quantity), parseInt(day_production_bad_quantity) ]
		} ]
	});
	
	chart = new Highcharts.Chart({
		chart : {
			renderTo : 'oper_charts3',
			type : 'column',
			marginRight : 110,
			marginLeft : 110,
			marginTop : 50,
			marginBottom : 25
		},
		title : {
			text : '현재 완성 수불 현황',
			x : -20, // center
			y : 10
		},
		subtitle : {
			text : '',
			x : -20
		},
		xAxis : {
			title : {
				text : ''
			},
			categories : [ '현재 생산', '현재 수불' ]
		},
		yAxis : {
			title : {
				text : ''
			},
			plotLines : [ {
				value : 0,
				width : 1,
				color : '#808080'
			} ]
		},
		tooltip : {
			formatter : function() {
				return '<b>' + this.series.name + '</b><br/>' + this.x + ': '
						+ this.y;
			}
		},
		legend : {
			layout : 'vertical',
			align : 'right',
			verticalAlign : 'top',
			x : 0,
			y : 100,
			borderWidth : 0
		},
		series : [ {
			name : '목표',
			data : [ parseInt(workorder_quantity), parseInt(workorder_badquantity) ]
		}, {
			name : '생산',
			data : [ parseInt(production_quantity), parseInt(production_bad_quantity) ]
		} ]
	});
}
